strArr = input().split()

res = ''
for str in strArr:
  res += str[0].upper()

print(res)